/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.ToaTau_DAO;
import DTO.ToaTau_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class ToaTau_BUS {
    
     public static String Get_MaToa() throws SQLException{
        return ToaTau_DAO.Get_MaToa();
    }
    public static ArrayList<ToaTau_DTO> GetALL(){
        return ToaTau_DAO.GetALL();
    }
    public static boolean Insert(ToaTau_DTO ToaTau){
        return ToaTau_DAO.Insert(ToaTau);
    }
    public static boolean Update(ToaTau_DTO ToaTau){
        return ToaTau_DAO.Update(ToaTau);
    }   
    public static boolean Delete(String MaToa){
        return ToaTau_DAO.Delete(MaToa);
    }
    
}
